#include "format.h"

void indent(short depth, short tab_stop)
{
    short spaces = depth * tab_stop;
    for (short i = 0; i < spaces; i++) {
        putchar(' ');
    }
}

void print_2d_char_array(FILE *file, char **array, size_t length)
{
    for (size_t size = 0; size < length; size++) {
        fprintf(file, "%s ", array[size]);
    }
}
